package com.hhf.feicodebackend.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hhf.feicodebackend.model.dto.app.AppQueryRequest;
import com.hhf.feicodebackend.model.entity.App;
import com.hhf.feicodebackend.model.entity.User;
import com.hhf.feicodebackend.model.vo.AppVO;
import reactor.core.publisher.Flux;

import java.util.List;

/**
 * @author 86138
 * @description 针对表【app(应用)】的数据库操作Service
 * @createDate 2025-08-12 11:32:57
 */
public interface AppService extends IService<App> {

    String deployApp(Long appId, User loginUser);

    List<AppVO> getAppVOList(List<App> appList);

    AppVO getAppVO(App app);


    QueryWrapper getQueryWrapper(AppQueryRequest appQueryRequest);


    Flux<String> chatToGenCode(Long appId, String message, User loginUser);
}
